package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：项目管理
 * @Date：Create by 2023-11-23 11:46:13
 */
@Data
@ToString
@TableName("ecp_tt_scene_project")
public class SceneProjectEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /* 项目名称 */
    private String projectName;

    /* 项目地点 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String address;

    /* 交付时间 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deliverTime;

    /* 总用地面积 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal landArea;

    /* 总建筑面积 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private BigDecimal floorArea;

    /**
     * 绿地面积
     */
    private BigDecimal greenArea;

    /**
     * 项目介绍
     */
    private String proRemark;

    /**
     * 项目图片
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String proImgs;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String backgroundImg;

    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String mobilePhone;

    /* 项目负责人 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String userId;

    /* 项目状态(1:待开发,2:开发中,3:已结束,4:已停止) */
    private String status;

    /* 机构Id */
    private String deptId;

}
